<!DOCTYPE html>
<html lang="zh-CN">
<#assign myActive=2/>
<#assign post={"title":"热门文章"}/>
<#include "../common/header.ftl"/>
<section id="geyan">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <h1>天地不仁，以万物为刍狗.</h1>
            </div>
        </div>
    </div>
</section>

<section id="main">
    <div class="container">
        <div class="col-md-12 row content" id="blogContents">
        <#if postList?exists>
            <#list postList as post>
                <div class="blog_post">
                    <div class="blog_header">
                        <h3 ><a href='<@sp.url "/blog/title/${post.title}"/>' class="blog_title">${post.title}</a></h3>
                        <span class="blog_date value"> 时间</span>${post.dates?datetime }
                        <span class="blog_browses value"> 浏览</span><span class="badge">${post.browses }</span>
                        <span class="value"> 标签</span>
                        <#list post.tags as tag>
                            <span class="blog_tags">${tag }</span>
                        </#list>
                    </div>
                    <div class="markdown-body editormd-html-preview">${post.excerpt!post.content}</div>
                </div>
            </#list>
        </#if>
        </div>
    </div>
</section>

<#include "../common/footer.ftl" />